From: Saqib Ali Date: Tue, 8 Feb 2022 14:08:44 +0000 (-0500) Subject: man/prune, bash: Add --commit-only flag for ostree prune X-Git-Tag: archive/raspbian/2022.2-3+rpi1^2~15^2^2~3^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=ce44b1907e6ef68dec4f80859e799891bfec2be4;p=ostree.git man/prune, bash: Add --commit-only flag for ostree prune Update the man page and the auto-complete script to include the --commit-only flag --- diff --git a/bash/ostree b/bash/ostree index c990462f..46363315 100644 --- a/bash/ostree +++ b/bash/ostree @@ -805,6 +805,7 @@ _ostree_prune() { --no-prune --refs-only --static-deltas-only + --commit-only " local options_with_args=" diff --git a/man/ostree-prune.xml b/man/ostree-prune.xml index e7e028ab..341ac7fb 100644 --- a/man/ostree-prune.xml +++ b/man/ostree-prune.xml @@ -120,6 +120,17 @@ License along with this library. If not, see . . + + + + + + Only traverse and delete commit objects. This leaves orphaned meta and + content objects, which can be cleaned up with another prune invocation. + One may want to use this option to cheaply delete multiple commits, + and then clean up with a more expensive prune at the end. + +